
public class Pair {
		int a;
		int b;
		Pair (int a, int b) {
			this.a = a;
			this.b = b;
		}
		public int[] toArray() {
			return new int[]{ a, b };
		}
}